Release 10.1A: OpenEdge Development:
AppBuilder
Creating and completing a SmartSender master
Use the Object Palette to place a SmartSender object.
![]()
To create a new SmartSender master:
- Click the SmartSender tool icon on th Object Palette:
![]()
- When the Choose dialog box opens, click the New button. After a moment, a new SmartSender object appears:
![]()
- Open the Section Editor and add handler code to complete the
sendHandlerandreceiveReplyHandlerprocedures. Use calls from the 4GL-JMS API.The
sendHanderprocedure deals with your outbound messages. Use it to set properties and create message bodies. See the "Example of sendHandler code" section.The
receiveReplyHandlerprocedure deals with incoming replies. Use it to extract properties and evaluate message bodies. See the "Example of sendHandler override code" section.- Save the completed master using a descriptive filename. Note that SmartSender filenames conventionally begin with
sms.Creating a SmartReceiver master involves comparable steps, though the names of the handler routines are
receiveHandlerandsendReplyHandler, respectively. See the "Example of receiveHandler code" section and the "Example of sendReplyHandler code" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |